<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>


<div class="row">
    <div class="col-sm-12">
        <div class="well">
            <div class="widget-body-toolbar"><strong><spring:message code='PROJECT_SEARCH_TITLE'/></strong>
                <i> - <spring:message code='PROJECT_SEARCH_TIP'/></i>
            </div>

            <div class="widget-body no-padding" style="margin-top: 10px;">
                <!-- row -->
                <div class="row">
                    <div class="col-sm-12 col-md-12 col-lg-12">
                        <!-- simple search -->
                        <div id="simple-search">
                            <!--<div class="col-sm-12 col-md-12 col-lg-12">-->
                            <div class="col-sm-5">
                                <input class="form-control" type="text" placeholder="<spring:message code='PROJECT_CODE'/>..."
                                       id="search-input" name="search_LIKE_code">
                            </div>
                            <div class="col-sm-5">
                                <input class="form-control" type="text" placeholder="<spring:message code='PROJECT_NAME'/>..."
                                       id="search-input1" name="search_LIKE_name">
                            </div>

                            <div class="col-sm-2">
                                <div class="input-group-btn">
                                    <button id="btn-simple-search" type="button" class="btn btn-default btn-primary pull-right">
                                        <i class="fa fa-search "></i> <spring:message code='GLOBAL_BUTTON_SEARCH'/>
                                    </button>
                                </div>
                            </div>
                            <!--</div>-->
                        </div>
                        <!-- end simple search -->
                    </div>
                </div>
                <!-- end row -->
            </div>
            <!-- end widget body -->
        </div>
    </div>
</div>

<div class="row">
    <div class="col-sm-12">
        <div class="well">
            <div class="widget-body-toolbar" style="padding:1px 10px 10px 0;">
                <a href="#project/create" class="btn btn-success btn-sm pull-right" data-toggle="modal" >
                    <i class="fa  fa-plus"></i> <spring:message code='PROJECT_BTN_NEW'/>
                </a>
            </div>

            <div class="widget-body no-padding" style="margin-top: 10px;">
                <!-- row -->
                <table id="dt_projects" class="table table-striped table-bordered table-hover" width="100%">
                    <thead>
                    <tr>
                        <th width="20" data-hide="phone"><spring:message code="TABLE_NO"/></th>
                        <th><spring:message code='PROJECT_ID'/></th>
                        <th><spring:message code='PROJECT_CODE'/></th>
                        <th><spring:message code='PROJECT_NAME'/></th>
                        <th><spring:message code='PROJECT_DESCRIPTION'/></th>
                        <th width="80"><spring:message code='PROJECT_OPERATOR'/></th>
                    </tr>
                    </thead>
                    <tbody></tbody>
                </table>
            </div>
        </div>
    </div>
</div>

<script src="js/core/business/project/projectInit.js"></script>

